package org.stars.dao;

import java.sql.Connection;
import java.util.List;

import org.stars.config.Config;
import org.stars.dao.params.Param;

public abstract class SelectExecutor {
	
	public static <E> List<E> readList(String fullQualifiedQueryName, Param ... params)
	{
		return readList(Config.getDaoConfig().getDefaultDataSource(), fullQualifiedQueryName, params);
	}
	
	public static <E> E read(String fullQualifiedQueryName, Param ... params)
	{
		return null;
	}
	
	public static <E> List<E> readList(Connection connection, String fullQualifiedQueryName, Param ... params)
	{
		return null;
	}
	
	public static <E> E read(Connection connection, String fullQualifiedQueryName, Param ... params)
	{
		return null;
	}
}
